FUNCTION

text.char_at

pure function char_at(index: integer): integer

Retrieves the 16-bit code of the character at the specified index within this text.

Parameters

  • index — the index of the character

Throws

  • exception — if index is greater than or equal to the size of this text

Since

0.9.0

© 2026 Chromia